package com.shengyin.ec.service.news;

import java.util.List;

import com.shengyin.ec.model.entity.News;

public interface NewsService {

	public List<News> getNewsList();
	
	public List<News> getNewsList(int offset,int pagesize);
	
	public Long getTotal();
	
	public List<News> getNewsListByDate();
	
	public void createNews(News news);
	
	public void removeNewsById(long id);
	
	public News getNews(long id);
	
	public void modifyNews(News news);
	
	public void deleteAllNews(String[] ids);
	
	public void deleteSelectedNews(String [] ids);
}
